﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CheckCodeHelper.ascx.cs" ClassName="CheckCodeHelper" Inherits="Hxsoft.AppV1._Controls.CheckCodeHelper" %>
<script type="text/javascript">
<!--
function <%= ReloadClientScriptFunctionName %>()
{
	var checkCodeImage = document.getElementById("<%= CheckCodeImage.ClientID %>");
	if(checkCodeImage)
	{
		var url = "<%= ImageUrl %>";
		var timeNow = new Date().getTime();
		
		url = url +"<%= ImageUrlSeparator %>t="+ timeNow;
		
		checkCodeImage.src = url;
	}
}
-->
</script>
<asp:Image ID="CheckCodeImage" ImageAlign="absmiddle" runat="server" />
<asp:Label ID="ReloadButtonContainer" runat="server"><a href="javascript:<%= ReloadClientScript %>"><%= ReloadButtonText %></a></asp:Label>